/*
#include "L298N.h"


void L298NFourWheelInit()
{
  __HAL_TIM_SET_COMPARE(&htim3,TIM_CHANNEL_1,0); // 运行周期为1000
  __HAL_TIM_SET_COMPARE(&htim3,TIM_CHANNEL_2,0); 
  __HAL_TIM_SET_COMPARE(&htim3,TIM_CHANNEL_3,0);
  __HAL_TIM_SET_COMPARE(&htim3,TIM_CHANNEL_4,0);
}

// TargetCompare is a num between [0,1000]
void L298NSetPWM(uint8_t ChannelNumber, uint16_t TargetCompare)
{
    if(TargetCompare > L298NCountPeroid) TargetCompare = L298NCountPeroid;
    __HAL_TIM_SET_COMPARE(&htim3,ChannelNumber,TargetCompare);
}
*/

